// 20212 => 二万零二百一十二

function computed(num) {
  const arr = ['零','一','二','三','四','五','六','七','八','九','十'];
  const arr2 = ['', '十', '百', '千', '万'];
  num = String(num).split('');
  num = num.reverse().map(item => {
    let char = arr[+item];
    if(index>0 && char!=='零') {
      char+=arr2[index]
    }
  });
  return num.reverse().join('')
}
